package com.xuecheng.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName PageParams
 * @Description 分页查询参数
 * @Author kiku
 * @Date 2024/7/8 15:42
 * @Version 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分页参数")
public class PageParams {

    //当前页码
    @ApiModelProperty("当前页码")
    private Long pageNo = 1L;
    @ApiModelProperty("每页记录数")
    //每页记录数默认值
    private Long pageSize = 10L;


}

